import { Deck } from "./deck";

export interface EntiretyCard{
    player1:Deck,
    player2:Deck,
    player3:Deck,
    remain:Deck,
}
export enum cardColor {
    sike = "♣",
    block = "♦",
    heart = "♥",
    spade = "♠",
}
export enum cardSize {
    one = "A",
    two = "2",
    three = "3",
    four = "4",
    five = "5",
    six = "6",
    seven = "7",
    eight = "8",
    nine = "9",
    ten = "10",
    eleven = "J",
    twelve = "Q",
    thirteen = "K",
}
export interface Card {
    getString(): string;
}
export interface PlayingCard extends Card {
    color: cardColor;
    size: cardSize;
}

export enum CardJokerType {
    big = "大王",
    small = "小王",
}
export interface JokerCard extends Card {
    type: CardJokerType;
}
export type cardPaid = PlayingCard[];
export type CardArr = Card[];